import {Controller,Get,Inject} from '@nestjs/common'
import { LoggerService,UserValueService } from './logger.service'


@Controller('analyse')
export class AppController{
    constructor(
        private LoggerService:LoggerService,
        @Inject('StringToken') private StringToken,
        @Inject('FactoryToken') private FactoryToken,
        @Inject('FactoryToken2') private FactoryToken2,
        @Inject('LoggerServiceToken') private LoggerServiceToken
    ){

    }

    @Get('list')
    getList():any{
        this.LoggerService.hello();
        this.FactoryToken.hello();
        this.FactoryToken2.hello();
        this.StringToken.hello();
        this.LoggerServiceToken.hello();
        return ['list01','list02']
    }
}